#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int reverse_string(char* string)
{
	if (*string == '\0')
	{
		return 0;
	}
	else
		return 1 + reverse_string(string + 1);
}
int main()
{
	char *p = "abcdef";
	int len = reverse_string(p);
	printf("%d\n", len);
	return 0;
}


